package com.cn.springcloudshop.model;

import java.util.Date;

public class YmShopProduct {

    /**商品ID*/
    private Long productId;

    /**商品名称*/
    private String productName;

    /**商品数量*/
    private Long productNumber;

    /**商品描述*/
    private String productDescribe;

    /**商品类型*/
    private String productType;

    /**商品价格*/
    private Long productPrice;

    /**商品兑换积分*/
    private Long productPoint;

    /**商品状态*/
    private Long state;

    /**商品上架时间*/
    private Date ondate;

    /**商品下架时间*/
    private Date offdate;

    /**商品销量*/
    private Long salesVolume;

    /**商品创建时间*/
    private Date createTime;

    /**商品更新时间*/
    private Date updateTime;

    /**商品图片*/
    private String productPic;

    /**商品详情图片*/
    private String productDetailsPic;

    /**创建时间格式化*/
    private String crTimeString;

    /**更新时间格式化*/
    private String upTimeString;

    /**下架时间格式化*/
    private String offTimeString;

    /**上架时间格式化*/
    private String onTimeString;

    /**商品类目ID*/
    private Long catId;

    /**商品排序字段*/
    private Long sortOrder;

    /**
     * 类目名称
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Long sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getCrTimeString() {
        return crTimeString;
    }

    public void setCrTimeString(String crTimeString) {
        this.crTimeString = crTimeString;
    }

    public String getUpTimeString() {
        return upTimeString;
    }

    public void setUpTimeString(String upTimeString) {
        this.upTimeString = upTimeString;
    }

    public String getOffTimeString() {
        return offTimeString;
    }

    public void setOffTimeString(String offTimeString) {
        this.offTimeString = offTimeString;
    }

    public String getOnTimeString() {
        return onTimeString;
    }

    public void setOnTimeString(String onTimeString) {
        this.onTimeString = onTimeString;
    }

    public String getProductPic() {
        return productPic;
    }

    public void setProductPic(String productPic) {
        this.productPic = productPic;
    }

    public String getProductDetailsPic() {
        return productDetailsPic;
    }

    public void setProductDetailsPic(String productDetailsPic) {
        this.productDetailsPic = productDetailsPic;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Long getProductNumber() {
        return productNumber;
    }

    public void setProductNumber(Long productNumber) {
        this.productNumber = productNumber;
    }

    public String getProductDescribe() {
        return productDescribe;
    }

    public void setProductDescribe(String productDescribe) {
        this.productDescribe = productDescribe == null ? null : productDescribe.trim();
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType == null ? null : productType.trim();
    }

    public Long getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(Long productPrice) {
        this.productPrice = productPrice;
    }

    public Long getProductPoint() {
        return productPoint;
    }

    public void setProductPoint(Long productPoint) {
        this.productPoint = productPoint;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Date getOndate() {
        return ondate;
    }

    public void setOndate(Date ondate) {
        this.ondate = ondate;
    }

    public Date getOffdate() {
        return offdate;
    }

    public void setOffdate(Date offdate) {
        this.offdate = offdate;
    }

    public Long getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Long salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCatId() {
        return catId;
    }

    public void setCatId(Long catId) {
        this.catId = catId;
    }
}